<div class="view ui-corner-all">
<table>
	<thead>
		<tr>
			<td colspan="2" align="right">
				<?php echo CHtml::link('Remove','#',array('id'=>'remove','remove_id'=>$data->id)); ?>
			</td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<th><?php echo CHtml::encode($data->getAttributeLabel('date')); ?></th>
			<td><?php echo CHtml::encode($data->date); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('shipping_id')); ?></th>
			<td><?php echo CHtml::encode($data->detail->shipping_line->cname); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('port')); ?></th>
			<td><?php echo CHtml::encode($data->detail->port); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('attn')); ?></th>
			<td><?php echo CHtml::encode($data->detail->attn); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('subject')); ?></th>
			<td><?php echo CHtml::encode($data->detail->subject); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->getAttributeLabel('cargos')); ?></th>
			<td><?php echo $data->cargos(); ?></td>
		</tr>
	</tbody>
</table>
</div>